package Day2025_02_25;

public class LeetCode371 {
    public int getSum(int a, int b) {
        while (b != 0) {
            int x = a ^ b;
            int y = (a & b) << 1;
            a = x;
            b = y;
        }
        return a;
    }
}
